package com.ruoyi.system.convert;

import com.ruoyi.system.domain.Cars;
import com.ruoyi.system.domain.dto.CarsDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CarsConverter {
    CarsConverter INSTANCE =  Mappers.getMapper(CarsConverter.class);
    Cars dtoToEntity (CarsDto carsDto);
    CarsDto EntityTodto(Cars cars);
}
